package com.hotel.room.mapper;

import com.hotel.user.entity.HotelRoomCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author trc
 * @since 2024-06-17
 */
public interface HotelRoomCollectMapper extends BaseMapper<HotelRoomCollect> {

    HotelRoomCollect selectRoomByIdAndRoomId(@Param("roomId")Integer roomId, @Param("id")Integer id);

    int deleteRoomByIdAndRoomId(@Param("roomId")Integer roomId, @Param("id")Integer id);
}
